/**
 * Copyright (C) 2016 Fuzhou Rockchip Electronics Co., Ltd
 * author: Neil Lin <neil.lin@rock-chips.com>
 *         Benjo Lei <benjo.lei@rock-chips.com>
 *         Jinkun Hong <hjk@rock-chips.com>
 *         Chris Zhong <zyw@rock-chips.com>
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
 * may be copied, distributed, and modified under those terms.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __MENUCOMMOND_H__
#define __MENUCOMMOND_H__

extern struct FlagForUI FlagForUI_ca;
extern void (*wififormat_callback)(void);

struct ui_frame *getfontcamera(int n);
struct ui_frame *getbackcamera(int n);
int setting_func_recovery_ui(void);
int setting_func_USBMODE_ui(char *str);
int setting_func_phtomp_ui(char *str);
int setting_func_video_length_ui(char *str);
int setting_func_3dnr_ui(char *str);
int setting_func_format_ui(void (*p)(void));
int setting_func_ldw_ui(char *str);
int setting_func_white_balance_ui(char *str);
int setting_func_exposure_ui(char *str);
int setting_func_motion_detection_ui(char *str);
int setting_func_data_stamp_ui(char *str);
int setting_func_record_audio_ui(char *str);
int setting_func_language_ui(char *str);
int setting_func_backlight_lcd_ui(char *str);
int setting_func_cammp_ui(char *str);
int setting_func_setdata_ui(char *str);
int setting_func_frequency_ui(char *str);
int setting_func_autorecord_ui(char *str);
int setting_func_car_ui(char *str);
int setting_func_modechage_ui(char *str);
int setting_func_rec_ui(char *str);
int setting_func_videoquality_ui(char *str);

int setting_func_reboot_ui(char *str);
int get_reboot_parameter(void);
void save_reboot_parameter(int param);
int setting_func_recover_ui(char *str);
int get_recover_parameter(void);
void save_recover_parameter(int param);
int setting_func_awake_1_ui(char *str);
int get_awake_parameter(void);
void save_awake_parameter(int param);
int setting_func_standby_ui(char *str);
int get_standby_parameter(void);
void save_standby_parameter(int param);
int setting_func_modechange_ui(char *str);
int settingsscanf_func_modechange_ui(char *str);
int get_mode_change_parameter(void);
void save_mode_change_parameter(int param);
int setting_func_video_ui(char *str);
int get_video_parameter(void);
void save_video_parameter(int param);
int setting_func_begin_end_video_ui(char *str);
int get_beg_end_video_parameter(void);
void save_beg_end_video_parameter(int param);
int setting_func_photo_ui(char *str);
int get_photo_parameter(void);
void save_photo_parameter(int param);
int setting_func_temp_ui(char *str);
int get_temp_parameter(void);
void save_temp_parameter(int param);
int setting_func_videobitrate_ui(char *str);
int get_video_bitrate_parameter(void);
void save_video_bitrate_parameter(int param);
#endif /* __MENUCOMMOND_H__ */
